package com.dhcc.bpm.modules.metadata.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName ResMetadata
 * @Description 响应元数据关联表实体类
 * @Author daina
 * @Date 2020/2/21 14:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
@Data
@TableName("opc_res_metadata")
@ApiModel(value = "ResMetadata对象", description = "响应元数据关联表")
public class ResMetadata implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @ApiModelProperty(value = "编号")
    @JsonSerialize(using = ToStringSerializer.class, nullsUsing = NullSerializer.class)
    private Long id;
    /**
     * 接口ID （关联opc_api表）
     */
    @ApiModelProperty(value = "接口ID （关联opc_api表）")
    @JsonSerialize(using = ToStringSerializer.class, nullsUsing = NullSerializer.class)
    private Long opcApiIdRes;
    /**
     * 元数据ID （关联opc_metadata表）
     */
    @ApiModelProperty(value = "元数据ID （关联opc_metadata表）")
    @JsonSerialize(using = ToStringSerializer.class, nullsUsing = NullSerializer.class)
    private Long opcMetadataId;

}
